python selenium get style

59

python selenium get style -

firefox = webdriver.Firefox()
element = firefox.find_element_by_css_selector("this element css selector here")
attributeValue = element.get_attribute("style")

Comments

Submit
0 Comments